{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Mastering Markdown -GithubFlavoured"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Titles / Headers\n",
    "```\n",
    "# header 1\n",
    "## header 2\n",
    "### header 3\n",
    "#### header 4\n",
    "##### header 5\n",
    "###### header 6\n",
    "```\n",
    "Range from \\<h1\\> to \\<h6\\>"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Text\n",
    "```\n",
    "This would be normal text\n",
    "```\n",
    "\n",
    "### **Bold Text**\n",
    "**bold**\n",
    "\n",
    "Format:\n",
    "```\n",
    "**This text would be bold.** \n",
    "\n",
    "__This would also be bold.__\n",
    "```\n",
    "\n",
    "### **Italic Text**\n",
    "\n",
    "_italic_\n",
    "\n",
    "Format:\n",
    "\n",
    "```\n",
    "*This text would be italic*\n",
    "_This would also be italic_\n",
    "```\n",
    "\n",
    "### **BlockQuotes**\n",
    "> Learning How to Learn\n",
    ">\n",
    "> -- Barbara Oakley\n",
    "\n",
    "Format:\n",
    "```\n",
    "> Learning How to Learn\n",
    ">\n",
    "> -- Barbara Oakley\n",
    "```\n",
    "\n",
    "### **Strikethrough**\n",
    "~~strikethrough~~\n",
    "\n",
    "Format:\n",
    "```\n",
    "~~strikethrough~~\n",
    "```\n",
    "\n",
    "### **Web Link**\n",
    "\n",
    "[Google Translate](https://translate.google.com/)\n",
    "\n",
    "Format:\n",
    "\n",
    "```\n",
    "[Google Translate](https://translate.google.com)\n",
    "```\n",
    "\n",
    "### **@ Username Mentions** (Github only)\n",
    "@Vivian @Jason Please cooperate to finish the task.\n",
    "\n",
    "Format:\n",
    "\n",
    "```\n",
    "@Vivian @Jason\n",
    "```\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## **Image**\n",
    "![github-logo](https://guides.github.com/images/logo@2x.png)\n",
    "\n",
    "Format:\n",
    "```\n",
    "![github-logo](https://guides.github.com/images/logo@2x.png)\n",
    "```\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## List\n",
    "\n",
    "### **Ordered List**\n",
    "1. 1st line\n",
    "2. 2nd line\n",
    "3. 3rd line\n",
    "    1. subline 1\n",
    "\n",
    "Format:\n",
    "\n",
    "```\n",
    "1. 1st line\n",
    "2. 2nd line\n",
    "3. 3rd line\n",
    "    1. subline 1\n",
    "```\n",
    "### **Unordered List**\n",
    "- point 1\n",
    "- point 2\n",
    "- point 3\n",
    "    - sub-point\n",
    "\n",
    "Format:\n",
    "```\n",
    "- point 1\n",
    "- point 2\n",
    "- point 3\n",
    "    - sub-point\n",
    "```\n",
    "or also you can use this syntax:\n",
    "```\n",
    "* point 1\n",
    "* point 2\n",
    "* point 3\n",
    "    * sub-point\n",
    "```\n",
    "\n",
    "### **Task List** (Github Only)\n",
    "- [x] This is a completed item task\n",
    "- [ ] This is a incompleted item task\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## **Code**\n",
    "\n",
    "Code Type 1: Multiple Lines\n",
    "\n",
    "```\n",
    "def fun(target:int, nums:list[int]) -> list[int]:\n",
    "    count = 0\n",
    "    for item in nums:\n",
    "        if item == target:\n",
    "            count += 1\n",
    "            print(nums.index())\n",
    "    print(count)\n",
    "```\n",
    "\n",
    "Format:\n",
    "\n",
    "\\`\\`\\`\n",
    "\n",
    "def fun(target:int, nums:list[int]) -> list[int]: ...\n",
    "\n",
    "\\`\\`\\`\n",
    "\n",
    "Code Type 2: Single Line / Inline\n",
    "\n",
    "`print(count)`\n",
    "\n",
    "Format:\n",
    "\n",
    "\\`print(count)\\`\n",
    "\n",
    "Code Type 3: Formatting (Github Only)\n",
    "\n",
    "- this type will be syntax highlighting inside Github website\n",
    "\n",
    "```Python\n",
    "def fun(target:int, nums:list[int]) -> list[int]:\n",
    "    count = 0\n",
    "    for item in nums:\n",
    "        if item == target:\n",
    "            count += 1\n",
    "            print(nums.index())\n",
    "    print(count)\n",
    "```"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Table\n",
    "StudentID | Student Name\n",
    "--------- | ------------\n",
    "1 | Harry Potter\n",
    "2 | Taylot Swift\n",
    "3 | Kevin Durant\n",
    "4 | Leoniel Messi\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Math\n",
    "[Math in MarkDown]\n",
    "(https://github.com/cben/mathdown/wiki/math-in-markdown)"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python",
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   }
  },
  "orig_nbformat": 2,
  "file_extension": ".py",
  "mimetype": "text/x-python",
  "name": "python",
  "npconvert_exporter": "python",
  "pygments_lexer": "ipython3",
  "version": 3
 },
 "nbformat": 4,
 "nbformat_minor": 2
}